package com.aaa.dem1108.d01;

import com.aaa.dem1107.d03.Singleton;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/8  14:50
 */
public class Test {
    public static void main(String[] args) {
        Singleton singleton = Singleton.getInstance();
        Singleton singleton1 = Singleton.getInstance();
        //在外界可以创建  n 此该对象
        System.out.println(singleton);
        System.out.println(singleton1);
    }
}
